#include "gameregion.h"

GameRegion::GameRegion(QPoint &pos, QString &name, QString &data, QString &passToImage)
{
    this->_name = name;
    this->_position = pos;
    this->_data = data;
    this->_background = new QImage(passToImage);
}

void GameRegion::addItem(Item *item)
{
    this->_hideItems.append(item);
}

QPoint GameRegion::getPos()
{
    return this->_position;
}

bool GameRegion::addMonter(Creature *cr)
{
    this->_creatures.append(cr);
}
